﻿using Prism.Ioc;
using Prism.Modularity;
using wpf.template.match.Services;
using wpf.template.match.ViewModels;
using wpf.template.match.Views;

namespace wpf.template.match
{
    public class TemplateMatchModule : IModule
    {
        public void OnInitialized(IContainerProvider containerProvider)
        {

        }

        public void RegisterTypes(IContainerRegistry services)
        {
            services.RegisterForNavigation<ShapeView, ShapeViewModel>();
            services.RegisterForNavigation<DrawShapeView, DrawShapeViewModel>();

            services.Register<ITemplateMatchService, ShapeModelService>();
        }
    }
}
